package com.nursinghome.common.service;

import com.nursinghome.bean.Category;
import com.nursinghome.exception.NurisingHomeException;

/**
* @author 程硕
* @createDate 2025-04-07 00:25:49
*/
public interface CategoryService {
    //新增
    Boolean insert(Category category) throws NurisingHomeException;
    //修改
    Boolean update(Category category) throws NurisingHomeException;
    // 删除
    Boolean delete(Integer id) throws NurisingHomeException;
    //根据id回显数据
    Category selectById(Integer id);
    //查询所有
    Object selectAll(Integer pageNum, Integer pageSize, Category category);
}
